package com.example.block_chain.service.award;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.block_chain.domain.dto.AwardDto;
import com.example.block_chain.domain.pojo.Award;
import com.example.block_chain.domain.vo.AwardVo;

import java.io.IOException;
import java.io.UnsupportedEncodingException;


public interface AwardService extends IService<Award> {

    void saveAward(AwardDto awardDto) throws IOException;

    Award getAward(Long id) throws UnsupportedEncodingException;

    AwardVo getAwardVoById(Long id) throws UnsupportedEncodingException;

    Page<AwardVo> getAwards(String sNo, String schoolCode, Integer page, Integer pageSize) throws UnsupportedEncodingException;
}
